class CreateSubmissions < ActiveRecord::Migration
  def self.up
    create_table :submissions do |t|   
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      t.column :user_id, :integer
      t.column :cycle_id, :integer
      t.column :data, :text
      t.column :status_id, :integer
    end
  end

  def self.down
    drop_table :submissions
  end
end
